package com.biyabi.entity;

import java.io.Serializable;
import java.util.Date;

public class Product implements Serializable {
    private String id;

    private String name;

    private Double reduction;

    private Double maxprice;

    private Double minprice;

    private String introduction;

    private String cover;

    private String link;

    private String recommender;

    private Date date;

    private Integer likes;

    private String comment;

    private String detail;

    private Integer status;

    private String supplierid;

    private String catelogbrankid;

    @Override
    public String toString() {
        return "Product{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", reduction=" + reduction +
                ", maxprice=" + maxprice +
                ", minprice=" + minprice +
                ", introduction='" + introduction + '\'' +
                ", cover='" + cover + '\'' +
                ", link='" + link + '\'' +
                ", recommender='" + recommender + '\'' +
                ", date=" + date +
                ", likes=" + likes +
                ", comment='" + comment + '\'' +
                ", detail='" + detail + '\'' +
                ", status=" + status +
                ", supplierid='" + supplierid + '\'' +
                ", catelogbrankid='" + catelogbrankid + '\'' +
                '}';
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Double getReduction() {
        return reduction;
    }

    public void setReduction(Double reduction) {
        this.reduction = reduction;
    }

    public Double getMaxprice() {
        return maxprice;
    }

    public void setMaxprice(Double maxprice) {
        this.maxprice = maxprice;
    }

    public Double getMinprice() {
        return minprice;
    }

    public void setMinprice(Double minprice) {
        this.minprice = minprice;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction == null ? null : introduction.trim();
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover == null ? null : cover.trim();
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link == null ? null : link.trim();
    }

    public String getRecommender() {
        return recommender;
    }

    public void setRecommender(String recommender) {
        this.recommender = recommender == null ? null : recommender.trim();
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Integer getLikes() {
        return likes;
    }

    public void setLikes(Integer likes) {
        this.likes = likes;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment == null ? null : comment.trim();
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail == null ? null : detail.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getSupplierid() {
        return supplierid;
    }

    public void setSupplierid(String supplierid) {
        this.supplierid = supplierid == null ? null : supplierid.trim();
    }

    public String getCatelogbrankid() {
        return catelogbrankid;
    }

    public void setCatelogbrankid(String catelogbrankid) {
        this.catelogbrankid = catelogbrankid == null ? null : catelogbrankid.trim();
    }
}